﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000961 RID: 2401
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class IHNPCEMHIMB : IMessage<IHNPCEMHIMB>, IMessage, IEquatable<IHNPCEMHIMB>, IDeepCloneable<IHNPCEMHIMB>, IBufferMessage
	{
		// Token: 0x17001E6E RID: 7790
		// (get) Token: 0x06006BC1 RID: 27585 RVA: 0x00121470 File Offset: 0x0011F670
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<IHNPCEMHIMB> Parser
		{
			get
			{
				return IHNPCEMHIMB._parser;
			}
		}

		// Token: 0x17001E6F RID: 7791
		// (get) Token: 0x06006BC2 RID: 27586 RVA: 0x00121477 File Offset: 0x0011F677
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return IHNPCEMHIMBReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17001E70 RID: 7792
		// (get) Token: 0x06006BC3 RID: 27587 RVA: 0x00121489 File Offset: 0x0011F689
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return IHNPCEMHIMB.Descriptor;
			}
		}

		// Token: 0x06006BC4 RID: 27588 RVA: 0x00121490 File Offset: 0x0011F690
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public IHNPCEMHIMB()
		{
		}

		// Token: 0x06006BC5 RID: 27589 RVA: 0x00121498 File Offset: 0x0011F698
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public IHNPCEMHIMB(IHNPCEMHIMB other) : this()
		{
			this.dLKAIPJHNMA_ = other.dLKAIPJHNMA_;
			this.mapId_ = other.mapId_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x06006BC6 RID: 27590 RVA: 0x001214C9 File Offset: 0x0011F6C9
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public IHNPCEMHIMB Clone()
		{
			return new IHNPCEMHIMB(this);
		}

		// Token: 0x17001E71 RID: 7793
		// (get) Token: 0x06006BC7 RID: 27591 RVA: 0x001214D1 File Offset: 0x0011F6D1
		// (set) Token: 0x06006BC8 RID: 27592 RVA: 0x001214D9 File Offset: 0x0011F6D9
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint DLKAIPJHNMA
		{
			get
			{
				return this.dLKAIPJHNMA_;
			}
			set
			{
				this.dLKAIPJHNMA_ = value;
			}
		}

		// Token: 0x17001E72 RID: 7794
		// (get) Token: 0x06006BC9 RID: 27593 RVA: 0x001214E2 File Offset: 0x0011F6E2
		// (set) Token: 0x06006BCA RID: 27594 RVA: 0x001214EA File Offset: 0x0011F6EA
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint MapId
		{
			get
			{
				return this.mapId_;
			}
			set
			{
				this.mapId_ = value;
			}
		}

		// Token: 0x06006BCB RID: 27595 RVA: 0x001214F3 File Offset: 0x0011F6F3
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as IHNPCEMHIMB);
		}

		// Token: 0x06006BCC RID: 27596 RVA: 0x00121501 File Offset: 0x0011F701
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(IHNPCEMHIMB other)
		{
			return other != null && (other == this || (this.DLKAIPJHNMA == other.DLKAIPJHNMA && this.MapId == other.MapId && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x06006BCD RID: 27597 RVA: 0x00121540 File Offset: 0x0011F740
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.DLKAIPJHNMA != 0U)
			{
				num ^= this.DLKAIPJHNMA.GetHashCode();
			}
			if (this.MapId != 0U)
			{
				num ^= this.MapId.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x06006BCE RID: 27598 RVA: 0x00121598 File Offset: 0x0011F798
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x06006BCF RID: 27599 RVA: 0x001215A0 File Offset: 0x0011F7A0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x06006BD0 RID: 27600 RVA: 0x001215AC File Offset: 0x0011F7AC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.MapId != 0U)
			{
				output.WriteRawTag(24);
				output.WriteUInt32(this.MapId);
			}
			if (this.DLKAIPJHNMA != 0U)
			{
				output.WriteRawTag(88);
				output.WriteUInt32(this.DLKAIPJHNMA);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x06006BD1 RID: 27601 RVA: 0x00121608 File Offset: 0x0011F808
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.DLKAIPJHNMA != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.DLKAIPJHNMA);
			}
			if (this.MapId != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.MapId);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x06006BD2 RID: 27602 RVA: 0x00121660 File Offset: 0x0011F860
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(IHNPCEMHIMB other)
		{
			if (other == null)
			{
				return;
			}
			if (other.DLKAIPJHNMA != 0U)
			{
				this.DLKAIPJHNMA = other.DLKAIPJHNMA;
			}
			if (other.MapId != 0U)
			{
				this.MapId = other.MapId;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x06006BD3 RID: 27603 RVA: 0x001216B0 File Offset: 0x0011F8B0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x06006BD4 RID: 27604 RVA: 0x001216BC File Offset: 0x0011F8BC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 24U)
				{
					if (num != 88U)
					{
						this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
					}
					else
					{
						this.DLKAIPJHNMA = input.ReadUInt32();
					}
				}
				else
				{
					this.MapId = input.ReadUInt32();
				}
			}
		}

		// Token: 0x04002925 RID: 10533
		private static readonly MessageParser<IHNPCEMHIMB> _parser = new MessageParser<IHNPCEMHIMB>(() => new IHNPCEMHIMB());

		// Token: 0x04002926 RID: 10534
		private UnknownFieldSet _unknownFields;

		// Token: 0x04002927 RID: 10535
		public const int DLKAIPJHNMAFieldNumber = 11;

		// Token: 0x04002928 RID: 10536
		private uint dLKAIPJHNMA_;

		// Token: 0x04002929 RID: 10537
		public const int MapIdFieldNumber = 3;

		// Token: 0x0400292A RID: 10538
		private uint mapId_;
	}
}
